/**
 * Copyright (c) 2019 xstgongyi.org
 * All rights reserved.
 */
package org.xstgongyi.eduaid.dataobject;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author oldcrane<br/>
 * @created 2019-04-02
 */
public class ProjectDO implements java.io.Serializable {
	private static final long serialVersionUID = 1L;

	private Integer id;
	private String name;
	private String prefix; // 受助学生编号前缀
	private LocalDate startDate;
	// TODO 项目状态，字符串？数字？Enum？
	private String description;
	private LocalDateTime gmtCreated;
	private LocalDateTime gmtUpdated;

	// TODO 项目负责人，leader？manager？对应志愿者 vs 对应 account vs 对应person
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public LocalDate getStartDate() {
		return startDate;
	}

	public void setStartDate(LocalDate startDate) {
		this.startDate = startDate;
	}

	public String getPrefix() {
		return prefix;
	}

	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public LocalDateTime getGmtCreated() {
		return gmtCreated;
	}

	public void setGmtCreated(LocalDateTime gmtCreated) {
		this.gmtCreated = gmtCreated;
	}

	public LocalDateTime getGmtUpdated() {
		return gmtUpdated;
	}

	public void setGmtUpdated(LocalDateTime gmtUpdated) {
		this.gmtUpdated = gmtUpdated;
	}

	@Override
	public String toString() {
		return "ProjectDO [id=" + id + ", name=" + name + ", startDate=" + startDate + ", prefix=" + prefix
				+ ", description=" + description + "]";
	}

}
